package _spring_test._aop;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AopTest {

    public void test(){
        System.out.println("test");
    }

    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("application-aop1.xml");
        AopTest aopTest = (AopTest)ac.getBean("aopTest");
        aopTest.test();
    }
}
